//
//  IPhone_IPad_Judge.m
//  Dolphin
//
//  Created by Matthew on 11-7-21.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import "IPhone_IPad_Judge.h"


@implementation IPhone_IPad_Judge

+(BOOL) isIPad
{
    CGRect screen_rect = [[UIScreen mainScreen] bounds];
    if(screen_rect.size.width >= 768 || screen_rect.size.height>=768)
    {
        //ipad
        return TRUE;
    }
    else
    {
        //iphone
        return FALSE;
    }
}

@end
